package com.clwl.supervise.superviseapp.mapper.supervise;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.supervise.JgDocTemplateParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface JgDocTemplateParamMapper extends BaseMapper<JgDocTemplateParam> {
    Map<String, Object> selectResult(@Param("sql") String sqlString, @Param("id") Long investigationId);

    JgDocTemplateParam selectByCode(@Param("code") String placeholder , @Param("templateId") Long templateId);
}